From: Stefan Monnier Date: Thu, 27 Aug 2009 18:35:20 +0000 (+0000) Subject: (update-elcfiles): Report left over elc files. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10850 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=5aa9769daecfe3e256fad34157fc9ce20662735b;p=emacs.git (update-elcfiles): Report left over elc files. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 011a3ca23e4..9335d35ae8e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2009-08-27 Stefan Monnier + * Makefile.in (update-elcfiles): Report left over elc files. + * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer, expand-file-name and with-current-buffer. (mail-get-names, mail-directory): Use with-current-buffer. diff --git a/lisp/Makefile.in b/lisp/Makefile.in index d83b2660bff..b167c7f8d8b 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -183,6 +183,12 @@ update-elclist: chmod +w $(lisp)/Makefile.in; \ mv -f temp-elcfiles $(lisp)/Makefile.in; \ fi + -(COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc | sed 's/elc$$/el/'; \ + COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el; \ + COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el) | \ + sort | uniq -u | while read extra; do \ + echo "Found left over byte-compiled file: $${extra}c !!" ;\ + done ## Explicitly list the .elc files, for the sake of parallel builds. ## http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-05/msg00016.html